home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-08-05 | 5.2 KB | 102 lines | [TEXT/SNTE] |
- Startup Font Manager 0.0.1
-
- "What the hail is that?"
-
- Startup Font Manager is a System 7.1-ONLY extension designed to give people the
- ability to enable/disable fonts at startup. It accomplishes this by moving
- fonts to/from the Fonts folder (inside the System Folder) from/to a (newly
- created) "•Disabled Fonts" folder inside the "Fonts" folder. Doing this
- effectively hides fonts from the System, which doesn't install them at startup.
-
- "Why the hail do it?"
-
- I wrote this as a test for myself. I'm one of those nasty geeks who suddenly
- decides he wants to do 'real programming' and deserves to wreak havoc on the
- entire planet. I wrote this to learn how to write extensions, use the List
- Manager and crash fellow Mac users' CPUs. My real intent is to write something
- somewhat-but-not-completely-unlike a combination of Suitcase and Extensions
- Manager; I wanted a font 'mover' that didn't patch anything. In other words
- (for the novices out there), I wanted to install and deinstall fonts without
- 'patching any traps'; patching traps is the usual cause of INIT conflicts and
- such problems...patching traps is to the Mac what sugar is to your gas tank.
- (OK OK OK...that's not entirely true. But only intensely good programmers like
- Andrew Welch, Dave Winer, Leonard Rosenstein, Keith Rollin, Ken Mcleod, Chris
- Flick, etc. are capable of writing code which patches traps and doesn't crash
- Macs...Notice the absense of my name in that list.) I wanted to avoid this
- completely. SFM, therefore, only climbs into memory if you hold down the space
- bar at boot (and only if you're running the right System version); after it has
- allowed you to re/move fonts, it gets out of memory, never to appear again and
- never to cause problems (please, god, don't let it cause problems).
-
- "Why the hail release it?"
-
- I realize that 99.99% of the people who see this will be unable to use it
- (yet...a week from now, who knows?). I seriously considered submitting it to
- MacHack...not because it's admirable but because it's the most useless utility
- in the world to almost everyone (that deserves some sort of snide award,
- right?). Nonetheless, I want to see what the .001% of you out there who can
- actually look at it might think. Also, since a lot of you are savvy and can
- imagine what System 7.1's new "Fonts" folder offers, I'd like to hear what you
- think.
-
- "How the hail did ya' write it?"
-
- Believe it or not, I wrote this under System 7.0.1, then copied it to a
- friend's Mac (which was running System 7.1), who told me that (double believe
- it or not) it worked. (Actually, only one call in this extension is System
- 7.1-explicit...it's the call to "FindFolder" asking for the location of the
- 'font' folder. Were it not for this call, and the security calls I place around
- it to restrict people from using it unless they are running System 7.1, this
- would actually work under System 7.0. Of course, moving fonts in and out of a
- ":System Folder:Fonts:" would accomplish absolutely nothing...)
-
- "What the hail could you possibly add to make this even more cool?"
-
- Oh, well, thanks for the praise but there's plenty to add. How about:
-
- • The way the list selection works is goofy (at apple.com?). It ought to work
- like Extensions Manager, where all selections are toggled. In other words, if
- you click on something, it changes from selected to deselected, or vice versa.
- As it stands now, the shift and command key allow multiple selections. While
- this is perfectly appropriate for some types of list selectons, I don't think
- it works here.
-
- • Bitmapped fonts and PostScript fonts should be differentiated better. Maybe
- you should have a switch to turn off PostScript fonts; then, disabling a bitmap
- font would also move its associated PostScript font(s) to the apporpriate
- place. This might make things kind of slow since I have to dig into the
- PostScript font file but it shouldn't be too bad...
-
- • Hey. What's that balloon help doing in there? Yeah...this has balloon help.
- In case you couldn't guess, I originally started writing this as a Control
- Panel. Then I realized there was no point whatsoever in making it a cdev since
- moving fonts after the Mac booted would really piss it off. What do you think?
-
- • Cool feature idea: If I find an alias, I resolve it. That way, I could rename
- this extension "AppleShove" (or whatever) so it loads after AppleShare. Then,
- when I resolve any aliases found in the "Fonts" folder, I might resolve a
- network-based Fonts folder. This would give Systems Administrators (that's me!)
- the ability to create anetwork-based fonts folder to/from which people could
- move their favorite fonts. There's a lot to consider here, but it could be
- cool...
-
- • Better notification when System 7.0 users tried to use this (or other
- problems occur) via the Notification Manager.
-
- Anyway, take a look or take a second to think about it...if you could write a
- font mover which didn't risk causing problems (and, to be fair, didn't let you
- change things once you booted), what would you want from it?
-
- Thanks for helping. Thanks for having a sense of humor. Thanks for putting up
- with very late night programming...(I have a full time job...amazing...)
-
- Robert Hess
- MacWEEK Systems Administrator
- Internet: robert_hess@macweek.ziff.com
- AppleLink: MACWEEK
- QM-QM: (415) 243-3623
- CIS: 72511,333
- MCI: RHESS
- AOL: RHessJr
-
-